/**
 * @file   Merge.cpp
 * @author xingyifan
 * @date   2021/08/21 15:38:57
 * 
 * @brief  merge sort
 * 
 * 
 */

#ifndef __MERGE__
#define __MERGE__

#include <iostream>
using namespace std;

#define MAX(a, b) ((a > b) ? a : b)
#define MIN(a, b) ((a > b) ? b : a)

//归并两个部分
void Merge(double[], int, int, int);
//归并排序
void Merge_Sort(double[], int, int);
void Merge_Sort(int, double[]);

#endif